﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="wucPodeMeDeletar.ascx.vb" Inherits="ProjetoDeTestes.wucPodeMeDeletar" %>
<script type="text/javascript">
    function funcaoPerdeFoco1() {
        var txt1 = this.document.getElementById("<%= TextBox1.ClientID %>");
        var txt2 = this.document.getElementById("<%= TextBox2.ClientID %>");
        txt2.value = parseFloat(txt1.value) + 10;
    }
    function alerta() {
        alert("!!");
    }
    function X() {
        var txt1 = this.document.getElementById("<%= TextBox1.ClientID %>");
        var txt2 = this.document.getElementById("<%= TextBox2.ClientID %>");
        funcaoPerdeFoco1(txt1, txt2);
    }
</script>
Controle loco!
<asp:TextBox ID="TextBox1" runat="server" onblur="X();" /><br />
<asp:TextBox ID="TextBox2" runat="server" />